/* pages/my/my.wxss */
.container {
    width: 100vw;
    min-height: 100vh;
    background-size: 100% 100%;

    .main-view {
        width: 100%;
        padding-top: 20rpx;
        border-top-left-radius: 16rpx;
        border-top-right-radius: 16rpx;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));

        .user-info-view {
            text-align: center;
            margin-top: 30rpx;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            
            .head-img {
                width: 150rpx;
                height: 150rpx;
                border-radius: 75rpx;
            }
            .user-name {
                font-size: 28rpx;
                line-height: 40rpx;
                font-weight: 600;
                color: #333;
            }
        }

        .btns-view {
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
            border-top-left-radius: 16rpx;
            border-top-right-radius: 16rpx;
            margin: 0 30rpx;
            margin-top: -115rpx;/* 上面头像一半的高度加上昵称的高度 */
            padding-top: 250rpx;/* 上面头像一半的高度加上昵称的高度，再加135rpx */
            padding-bottom: 40rpx;

            .btn-groups {
                background-color: rgba(255, 255, 255, 0.8);
                margin: 0 30rpx;
                padding: 60rpx 30rpx 1rpx 30rpx;
                border-radius: 16rpx;
                
                .btn {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 60rpx;
                    border-radius: 35rpx;
                    border-bottom-left-radius: 0;

                    .btn-ico {
                        width: 50rpx;
                        height: 50rpx;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 10rpx 0;
                        margin-left: 10rpx;
                        border-radius: 35rpx;
                        border-bottom-left-radius: 0;
                        background-color: #fff;
                    }
                    .btn-name {
                        font-size: 28rpx;
                        color: #fff;
                    }
                    .btn-arrow {
                        color: #fff;
                        margin-right: 20rpx;
                    }
                }
                .btn1 {
                    background-color: #eb6b97;
                    box-shadow: 4rpx 4rpx 0rpx 0rpx #c54c76;
                    .btn-ico {
                        image {
                            width: 30rpx;
                            height: 38rpx;
                        }
                    }
                }
                .btn2 {
                    background-color: #895aa2;
                    box-shadow: 4rpx 4rpx 0rpx 0rpx #764095;
                    .btn-ico {
                        image {
                            width: 30rpx;
                            height: 28rpx;
                        }
                    }
                }
                .btn3 {
                    background-color: #f4c21e;
                    box-shadow: 4rpx 4rpx 0rpx 0rpx #ed9220;
                    .btn-ico {
                        image {
                            width: 30rpx;
                            height: 22rpx;
                        }
                    }
                }
                .btn4 {
                    background-color: #2775bb;
                    box-shadow: 4rpx 4rpx 0rpx 0rpx #1e64b0;
                    .btn-ico {
                        image {
                            width: 30rpx;
                            height: 26rpx;
                        }
                    }
                }
                .btn5 {
                    background-color: #35b263;
                    box-shadow: 4rpx 4rpx 0rpx 0rpx #20a455;
                    .btn-ico {
                        image {
                            width: 30rpx;
                            height: 41rpx;
                        }
                    }
                }
                
                .share-btn {
                    height: 70rpx;
                    border-radius: 35rpx;
                    border-bottom-left-radius: 0;
                    margin-top: -130rpx;/* 上面按钮的下边距60rpx加上本身高度70rpx */
                    margin-bottom: 60rpx;
                    background-color: transparent;
                }
                .share-btn::after {
                    border: 0;
                }
            }
        }
    }
}